import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

import index from "../view/index.vue";

const routes = [
  {
    path: "/",
    component: index,
  },
];

const router = new VueRouter({
  mode: "history",
  routes,
});

export default router;
